package com.four.service.impl;

import com.four.mapper.AdminMapper;
import com.four.pojo.Admin;
import com.four.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName AdminServiceImpl
 * @Description service实现类
 * @Author Lilyan
 * @Date 2022/11/11 10:55
 * @Vsersion V1.0
 * @Projrct Name hotel_sys
 **/
@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
   private AdminMapper adminMapper;
    @Override
    public List<Admin> queryAll() {
        return adminMapper.queryAll();
    }
}
